package com.solomon.travel.common.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.solomon.travel.common.model.Page;
import com.solomon.travel.common.po.Protocal;
import com.solomon.travel.common.po.Shop;

public interface ShopService {
	int add(Shop shop);
	int update(Shop shop);
	int add(Protocal protocal);
	int update(Protocal protocal);
	Shop getbyUser(String objectId);
	int count();
	List<Shop> listShop(Page page);
	Integer countBySerch(Shop shop);
	List<Shop> listBySerch(Shop shop,Page page);
}
